 <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
 
  <form action="Upload.action" enctype="multipart/form-data" method=post >
    	文件标题:<input type=text name=title /> <br/>
    	选择文件：<input type=file name=upload /><br/>
    	<input type=submit value=上传 />
    </form>
